<template>
  <div>
      <h3>嵌套路由</h3>
        <router-link to="/showwork/day07/2-nestRoute/views/index2">主页</router-link>
        <router-link to="/showwork/day07/2-nestRoute/views/news">新闻</router-link>
        <router-link to="/showwork/day07/2-nestRoute/views/sports">体育</router-link>
        <br>
        <router-view></router-view>
  </div>
</template>

<script>
export default {

}
</script>

<style lang="less" scoped>
       a{
        font-size: 16px;
        margin-right: 15px;
        text-decoration: underline;
    }
</style>